body {
    background: #a8c1e7;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, .3);
    background: linear-gradient(to top right, #784ec1, #97bffb);
    overflow: hidden;
}

.image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    img {
        border-radius: 50%;
    }

    .circle {
        position: absolute;
        border-radius: 50%;
        border: 2px solid #7c43bc;
        transition: all 1.5s ease-in-out;
    }

    .c1 {
        width: 90px;
        height: 90px;
        top: -5px;
        left: -5px;
        border-left-color: transparent;
    }

    .c2 {
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        border-right-color: transparent;
    }

    &:hover {
        cursor: pointer;

        .c1 {
            transform: rotate(360deg);
        }

        .c2 {
            transform: rotate(-360deg);
        }
    }
}